package com.lipeng.bean;

/**
 * Created by dllo on 18/3/1.
 */
public class Admin {
    private Integer id;
    private String name;
    private String psw;

    public Admin(){
    }

    public Admin(String name, String psw) {
        this.name = name;
        this.psw = psw;
    }

    public Admin(Integer id, String name, String psw) {
        this.id = id;
        this.name = name;
        this.psw = psw;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPsw() {
        return psw;
    }

    public void setPsw(String psw) {
        this.psw = psw;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", psw='" + psw + '\'' +
                '}';
    }
}
